import type { PageDto } from './request'

export interface Resource {
  id?: number
  createTime?: string
  name?: string
  url?: string
  description?: string
  categoryId?: number
  checked?: boolean
}

export interface ResourcePageDto extends PageDto {
  categoryId?: number
  nameKeyword?: string
  urlKeyword?: string
}

export interface ResourceDto {
  createTime?: string
  id?: number
  name?: string
  sort?: number
  status?: 0 | 1
}
